package cn.com.cifi.mars.mapper.mars;

import cn.com.cifi.mars.entity.MymRooms;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * （明源）房间信息流水表 Mapper 接口
 * </p>
 *
 * @author yyd
 * @since 2019-09-25
 */
public interface MymRoomsMapper extends BaseMapper<MymRooms> {

    /**
     * @param projectFid 分期id
     * @return List<MymRooms>
     */
    List<MymRooms> selectNewestWarPlanByFid(@Param("fid") String projectFid);

    /**
     * @param projectFids 分期ids
     * @return List<MymRooms>
     */
    List<MymRooms> selectNewestWarPlanByFids(@Param("list") List projectFids);

    /**
     * @param month 月份
     * @return List<MymRooms>
     */
    List<MymRooms> selectAllRoomsFromMym(@Param("month") int month);

    /**
     * 批量更新
     * @param list
     */
    void insertRoomsList(@Param("list")List<MymRooms> list);

	
}
